import request from './request'
export function getPeopelEventList(params){
    return request({
        url:'/event/page',
        method:'get',
        params
    })
}
export function delPeopelEvent(data){
    return request({
        url:'/event/delete',
        method:'post',
        data
    })
}
export function getPeopelEventInfo(id){
    return request({
        url:'/event/details/'+id,
        method:'get'
    })
}
export function addEvent(data){
    return request({
        url:'/event/create/',
        method:'post',
        data
    })
}
export function updateEvent(data){
    return request({
        url:'/event/update/',
        method:'post',
        data
    })
}

